<!--
 * @Descripttion: 
 * @Author: jhw
 * @Date: 2023-12-27 16:35:10
 * @LastEditors: jhw
 * @LastEditTime: 2023-12-28 17:50:36
-->
<template>
  <div>
    <h1>Notification开发</h1>
    <el-button type="primary" @click="open1">上传1</el-button>
    <el-button type="primary" @click="open2">上传2</el-button>
    <!-- <Notification>asdasdsd </Notification> -->
  </div>
</template>

<script setup lang="ts">
import { show } from '@/components/Notification/show';

const open2 = () => {
  show({
    id: '1',
    title: '标题A ',
  });
};

const open1 = () => {
  // Notification.
  show({
    id: '2',
    title: '标题B ',
  });
};
</script>

<style scoped></style>
